package com.yuanli.cosmeticmirror.model.biz;

import com.comenjoysoft.baselibrary.listener.CallbackListener;
import com.yuanli.cosmeticmirror.bean.videoBean;
import com.yuanli.cosmeticmirror.bean.videoInfoBean;

public interface IVideoBiz {
    /**
     * 点赞
     */
    void like(String tutorialId, CallbackListener<videoBean> listener);

    /**
     * 取消点赞
     */
    void cancelLike(String tutorialId, CallbackListener<videoBean> listener);

    /**
     * 收藏
     */
    void collect(String tutorialId, CallbackListener<videoBean> listener);

    /**
     * 取消收藏
     */
    void cancelCollect(String tutorialId, CallbackListener<videoBean> listener);

    /**
     * 获取教程详情
     */
    void getTutorialDetails(String tutorialId, CallbackListener<videoInfoBean> listener);

    /**
     * 获取教程详情
     */
    void addRecord(String tutorialId);
}
